﻿using System.Collections.Generic;

namespace RHD.Common.Web.Components.Tab {
	public class TabItems {
		private IList<TabItemBuilder> Items { get; set; }

		public TabItems() {
			this.Items = new List<TabItemBuilder>();
		}

		#region Methods

		public TabItemBuilder Add(string label) {
			TabItemBuilder item = new TabItemBuilder();
			item.Label(label);
			this.Items.Add(item);
			return item;
		}

		public IList<TabItemBuilder> GetItems() {
			return this.Items;
		}

		#endregion
	}
}